export const baseInfoFields = [
  {
    name: '活动名称',
    key: 'activity.title',
    required: true,
    labelCol: { span: 2 },
    wrapperCol: { span: 10 },
    rules: [{ message: '请输入活动名称' }],
    props: {
      placeholder: '请输入活动名称，可重复，限64字',
      maxLength: 64,
    },
  },
  {
    name: '裂变人',
    key: 'activity.inviterCrowdCodes.0',
    labelCol: { span: 2 },
    wrapperCol: { span: 10 },
    required: true,
    type: 'remote-select',
    props: {
      serviceName: 'getCrowdList',
      labelKey: 'name',
      valueKey: 'code',
      placeholder: '请选择裂变人',
      params: { scene: 'MEMBER' },
    },
  },
  {
    name: '被裂变人',
    key: 'activity.inviteeCrowdCodes.0',
    labelCol: { span: 2 },
    wrapperCol: { span: 10 },
    required: true,
    type: 'remote-select',
    props: {
      serviceName: 'getCrowdList',
      labelKey: 'name',
      valueKey: 'code',
      placeholder: '请选择被裂变人',
      params: { scene: 'MEMBER' },
    },
  },
];
